package top.lfyao.designpattern.details.builder;

public class Director {

    public static Product createBuilder(Builder builder) {
        builder.buildPartHead();
        builder.buildPartBody();
        builder.buildPartArmLeft();
        builder.buildPartArmRight();
        builder.buildPartLegLeft();
        builder.buildPartLegRight();
        return builder.getBuildResult();
    }
}
